package com.chenyaowei.member.service;

import java.util.List;
import com.chenyaowei.member.domain.CywMemberLevel;

/**
 * 会员等级Service接口
 * 
 * @author chenyaowei
 * @date 2023-11-28
 */
public interface ICywMemberLevelService 
{
    /**
     * 查询会员等级
     * 
     * @param id 会员等级主键
     * @return 会员等级
     */
    public CywMemberLevel selectCywMemberLevelById(Long id);

    /**
     * 查询会员等级列表
     * 
     * @param cywMemberLevel 会员等级
     * @return 会员等级集合
     */
    public List<CywMemberLevel> selectCywMemberLevelList(CywMemberLevel cywMemberLevel);

    /**
     * 新增会员等级
     * 
     * @param cywMemberLevel 会员等级
     * @return 结果
     */
    public int insertCywMemberLevel(CywMemberLevel cywMemberLevel);

    /**
     * 修改会员等级
     * 
     * @param cywMemberLevel 会员等级
     * @return 结果
     */
    public int updateCywMemberLevel(CywMemberLevel cywMemberLevel);

    /**
     * 批量删除会员等级
     * 
     * @param ids 需要删除的会员等级主键集合
     * @return 结果
     */
    public int deleteCywMemberLevelByIds(Long[] ids);

    /**
     * 删除会员等级信息
     * 
     * @param id 会员等级主键
     * @return 结果
     */
    public int deleteCywMemberLevelById(Long id);
}
